package com.ws.mbp.springsecuritydemo.service;

import com.ws.mbp.springsecuritydemo.bean.Users;
import org.springframework.stereotype.Service;

import java.util.Optional;

@Service
public interface UsersService {
    int add(Users user);

    Optional<Users> findByUsername(String username);
}
